package ru.spb.osll.myfit.server.execute;

import fit.Fixture;
import fit.FixtureLoader;

public class TestableFixtureLoader extends MyFitFixtureLoader {

	public TestableFixtureLoader() {
		super(null);
	}
	
	@Override
	public Fixture disgraceThenLoad(String tableName) throws Exception {
	  try {
      return FixtureLoader.instance().disgraceThenLoad(tableName);
    } catch (Exception e) {
      throw e;
    } catch (Throwable e) {
      throw new RuntimeException(e);
    }
	}
	
	@Override
	public void close() {
	}
	
}
